package biology;

import java.util.Scanner;

interface Biology{
    abstract  void breath();
}

interface Animal{
    abstract void eat();
    abstract void sleep();
}

class Person implements Biology, Animal {
    public void breath() {
        System.out.println("我喜欢呼吸新鲜空气");
    }

    public void eat() {
        System.out.println("我会按时吃饭");
    }

    public void sleep() {
        System.out.println("早睡早起身体好");
    }

    public void think(){
        System.out.println("我喜欢思考");
    }

}

class Pupil extends Person{
    private String school;

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }
}
public class Main {
    public static void main(String[] args) {

        Scanner reader = new Scanner(System.in);

        Pupil zhangsan = new Pupil();
        zhangsan.setSchool(reader.next());
        System.out.println("我的学校是" + zhangsan.getSchool());
       zhangsan.breath();
       zhangsan.eat();
       zhangsan.sleep();
       zhangsan.think();
    }

}
